package com.kaka.bus.engine.rechange;

import com.kaka.bus.bean.BankBean;
import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.bean.PayBean;
import com.kaka.bus.bean.Single;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

import java.util.List;
import java.util.Map;

/**
 * Created by OnionMac on 2018/7/11.
 */

public interface RechangeContract {

    interface View extends BaseView {

        void getBankListSuccess(HttpWrapper<List<BankBean>> wrapper);

        void getPayInfoS(HttpWrapper<PayBean> wrapper);

        void payS(HttpWrapper<String> wrapper);

        void sendYzmS(HttpWrapper<Single> wrapper);
    }

    interface Presenter extends BasePresenter<View> {

        void getBankList();

        void getPayInfo(String userId, String token);

        void pay(Map<String, String> map);

        void getPayCode(String phone, String tokenKey, String senddynamic, String platform, String bankCard);
    }
}
